/*    */ package com.cr.web.controller.monitor;
/*    */ 
/*    */ import com.cr.common.core.controller.BaseController;
/*    */ import com.cr.framework.web.domain.Server;
/*    */ import org.apache.shiro.authz.annotation.RequiresPermissions;
/*    */ import org.springframework.stereotype.Controller;
/*    */ import org.springframework.ui.ModelMap;
/*    */ import org.springframework.web.bind.annotation.GetMapping;
/*    */ import org.springframework.web.bind.annotation.RequestMapping;
/*    */ 
/*    */ @Controller
/*    */ @RequestMapping({"/monitor/server"})
/*    */ public class ServerController extends BaseController {
/* 20 */   private String prefix = "monitor/server";
/*    */   
/*    */   @RequiresPermissions({"monitor:server:view"})
/*    */   @GetMapping
/*    */   public String server(ModelMap mmap) throws Exception {
/* 26 */     Server server = new Server();
/* 27 */     server.copyTo();
/* 28 */     mmap.put("server", server);
/* 29 */     return this.prefix + "/server";
/*    */   }
/*    */ }


/* Location:              D:\tmp\creditorRights-admin\BOOT-INF\classes\com.zip!\com\cr\web\controller\monitor\ServerController.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */